App.Api.factory('Api.Delrelnote', [function () {
			/**
* Usunięcie powiązanej notatki
* @class delrelnote
*/
function delrelnote(){
	/**
	* delrelnote
	* @property oper
	* @private 
	*/
	var oper = 'delrelnote',

	/**
	*  właściciel zbioru
	* @property user 
	* @private 
	*/
	user ,

	/**
	*  hasło tego użytkownika
	* @property pass 
	* @private 
	*/
	pass ,

	/**
	*  identyfikator notatki
	* @property nid 
	* @private 
	*/
	nid ,

	/**
	*  identyfikator powiązania, ew. „!” aby usunąć całość
	* @property note 
	* @private 
	*/
	note ,

	/**
	*  identyfikator powiązania, ew. „!” aby usunąć całość
	* @property note 
	* @private 
	*/
	note ,
	that = this;


	function getOper(noper){
		return oper;
	}
	function getUser(nuser){
		return user ;
	}
	function getPass(npass){
		return pass ;
	}
	function getNid(nnid){
		return nid ;
	}
	function getNote(nnote){
		return note ;
	}

	function setOper(noper){
		oper = noper;
	}
	function setUser(nuser){
		user  = nuser ;
	}
	function setPass(npass){
		pass  = npass ;
	}
	function setNid(nnid){
		nid  = nnid ;
	}
	function setNote(nnote){
		note  = nnote ;
	}

	function toObject(){
		return{
			oper: oper,
			user : user ,
			pass : pass ,
			nid : nid ,
			note : note 
		};
	}

	/**
 	* konstruktor
 	*
   	* @constructor         
  	* @method construct    
  	* @public              
 	*/
	(function delrelnote(){
		that.getOper = getOper;
		that.getUser = getUser;
		that.getPass = getPass;
		that.getNid = getNid;
		that.getNote = getNote;
		that.setOper = setOper;
		that.setUser = setUser;
		that.setPass = setPass;
		that.setNid = setNid;
		that.setNote = setNote;

	})();
}


delrelnote.prototype.fromObject = function (obj){
		var object = new delrelnote();
		object.setOper(obj.getOper());
		object.setUser(obj.getUser());
		object.setPass(obj.getPass());
		object.setNid(obj.getNid());
		object.setNote(obj.getNote());

		return object;
	}

			return delrelnote;
		}]);